/**
 * SearchTableTemplateConfig
 * 
 * 查看README.md配置
 * src/components/search-table-template/README.md
 * 
 */


const STTConfig = {
  empty: {
    search: [],
    table: {
      selection: true,
      index: true,
      columns: []
    }
  },
  
  // 涉及人员
  demo: {
    search: [
      {
        type: 'input',
        label: '选项1',
        placeholder: '请输入',
        prop: 'value1'
      },
      {
        type: 'input',
        label: '选项2',
        placeholder: '请输入',
        prop: 'value1'
      },
      {
        type: 'input',
        label: '选项3',
        placeholder: '请输入',
        prop: 'value3'
      },
      {
        type: 'select',
        label: '选项4',
        placeholder: '请选择',
        prop: 'option1',
        options: [{name: '选项1', code: '1'}, {name: '选项2', code: '2'}]
      },
      {
        type: 'select',
        label: '选项5',
        placeholder: '请选择',
        prop: 'option2',
        options: [{name: '选项1', code: '1'}, {name: '选项2', code: '2'}]
      }
    ],
    table: {
      selection: true,
      index: true,
      columnHandle: true,
      columns: [
        {
          label: '选项1',
          prop: 'value1',
          dictionary: true
        },
        {
          label: '选项2',
          prop: 'value2',
          myslot: true
        },
        {
          label: '选项2-1',
          prop: 'value22',
          myslot: true
        },
        {
          label: '选项3',
          prop: 'value3'
        },
        {
          label: '选项4',
          prop: 'value4'
        },
        {
          label: '选项5',
          prop: 'value5'
        },
        {
          label: '选项6',
          prop: 'value6'
        }
      ]
    }
  }
}
export default STTConfig